
<!DOCTYPE html>
<html lang="en" class="loading">
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>简易购物车 - Mr.Song</title>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="google" content="notranslate" />
    <meta name="keywords" content="Fechin,"> 
    <meta name="description" content="VUE的架构123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051,"> 
    <meta name="author" content="Mr.Song"> 
    
    <link rel="icon" href="/song_b/img/song.png"> 
    
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.css">

    
<link rel="stylesheet" href="/song_b/css/diaspora.css">

	<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <script>
         (adsbygoogle = window.adsbygoogle || []).push({
              google_ad_client: "ca-pub-8691406134231910",
              enable_page_level_ads: true
         });
    </script>
    <script async custom-element="amp-auto-ads"
        src="https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js">
    </script>
<meta name="generator" content="Hexo 4.2.0"></head>

<body class="loading">
    <span id="config-title" style="display:none">Mr.Song</span>
    <div id="loader"></div>
    <div id="single">
    <div id="top" style="display: block;">
    <div class="bar" style="width: 0;"></div>
    <a class="iconfont icon-home image-icon" href="javascript:;" data-url="https://gitee.com/song_shen_olympic/song_b.git"></a>
    <div title="播放/暂停" class="iconfont icon-play"></div>
    <h3 class="subtitle">简易购物车</h3>
    <div class="social">
        <div>
            <div class="share">
                <a title="获取二维码" class="iconfont icon-scan" href="javascript:;"></a>
            </div>
            <div id="qr"></div>
        </div>
    </div>
    <div class="scrollbar"></div>
</div>

    <div class="section">
        <div class="article">
    <div class='main'>
        <h1 class="title">简易购物车</h1>
        <div class="stuff">
            <span>四月 21, 2020</span>
            
  <ul class="post-tags-list" itemprop="keywords"><li class="post-tags-list-item"><a class="post-tags-list-link" href="/song_b/tags/python/" rel="tag">python</a></li></ul>


        </div>
        <div class="content markdown">
            <h1 id="VUE的架构"><a href="#VUE的架构" class="headerlink" title="VUE的架构"></a>VUE的架构</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br></pre></td><td class="code"><pre><span class="line">&lt;template&gt;</span><br><span class="line">    &lt;div&gt;</span><br><span class="line">        &lt;!-- 购物车 --&gt;</span><br><span class="line">        &lt;table&gt;</span><br><span class="line">            &lt;tr&gt;</span><br><span class="line">                &lt;td&gt;商品名称&lt;&#x2F;td&gt;</span><br><span class="line">                &lt;td&gt;商品数量&lt;&#x2F;td&gt;</span><br><span class="line">                &lt;td&gt;商品价格&lt;&#x2F;td&gt;</span><br><span class="line">            &lt;&#x2F;tr&gt;</span><br><span class="line">            &lt;tr v-for&#x3D;&quot;(item,index) in tlist&quot;&gt;</span><br><span class="line">                &lt;td&gt;&#123;&#123; item.text &#125;&#125;&lt;&#x2F;td&gt;</span><br><span class="line">                &lt;td&gt;</span><br><span class="line">                    &lt;button @click&#x3D;&quot;minus(index)&quot;&gt;+&lt;&#x2F;button&gt;</span><br><span class="line">                    &lt;input type&#x3D;&quot;text&quot; v-model&#x3D;&quot;item.num&quot;&gt;</span><br><span class="line">                    &lt;button @click&#x3D;&quot;add(index)&quot;&gt;+&lt;&#x2F;button&gt;</span><br><span class="line">                &lt;&#x2F;td&gt;</span><br><span class="line">                &lt;td&gt;&#123;&#123; item.price &#125;&#125;&lt;&#x2F;td&gt;</span><br><span class="line">            &lt;&#x2F;tr&gt;</span><br><span class="line">        &lt;&#x2F;table&gt;</span><br><span class="line">        &lt;p&gt;总数量:&#123;&#123;totalcount()&#125;&#125;        总价格:&#123;&#123;pricecount()&#125;&#125;&lt;&#x2F;p&gt;</span><br><span class="line"></span><br><span class="line"></span><br><span class="line"></span><br><span class="line">        &lt;button @click&#x3D;&quot;counter++&quot;&gt;+&lt;&#x2F;button&gt;</span><br><span class="line">        &#123;&#123;counter&#125;&#125;</span><br><span class="line">        &lt;button @click&#x3D;&quot;counter--&quot;&gt;-&lt;&#x2F;button&gt;</span><br><span class="line">        </span><br><span class="line">        &#123;&#123;reverse_msg&#125;&#125;</span><br><span class="line">        &lt;ul&gt;</span><br><span class="line">            &lt;li v-for&#x3D;&quot;(item,index) in tlist&quot;:class&#x3D;&quot;&#123;on:index%2&#x3D;&#x3D;0,off:index%2!&#x3D;0&#125;&quot;&gt;</span><br><span class="line">                &#123;&#123;item.text&#125;&#125;</span><br><span class="line">            &lt;&#x2F;li&gt;</span><br><span class="line">        &lt;&#x2F;ul&gt;</span><br><span class="line"></span><br><span class="line">        &lt;div v-html&#x3D;&quot;msg&quot;&gt;&lt;&#x2F;div&gt;</span><br><span class="line">        &#123;&#123;msg&#125;&#125;</span><br><span class="line">        &lt;h1&gt;&#123;&#123;msg&#125;&#125;&lt;&#x2F;h1&gt;  </span><br><span class="line">        &lt;h2 v-show&#x3D;&quot;ok&quot;&gt;Hello world&lt;&#x2F;h2&gt;</span><br><span class="line">        &lt;h2 v-if&#x3D;&quot;ok&quot;&gt;Hello world&lt;&#x2F;h2&gt;</span><br><span class="line"></span><br><span class="line">        &lt;div v-if&#x3D;&quot;type &#x3D;&#x3D;&#x3D; &#39;A&#39;&quot;&gt;A&lt;&#x2F;div&gt;</span><br><span class="line">        &lt;div v-else-if&#x3D;&quot;type &#x3D;&#x3D;&#x3D; &#39;B&#39;&quot;&gt;B&lt;&#x2F;div&gt;</span><br><span class="line">        &lt;div v-else&gt;不是A也不是B&lt;&#x2F;div&gt;</span><br><span class="line">    &lt;&#x2F;div&gt;</span><br><span class="line">&lt;&#x2F;template&gt;</span><br><span class="line"></span><br><span class="line">&lt;script&gt;</span><br><span class="line">export default &#123;</span><br><span class="line">    &#x2F;&#x2F;定义数据</span><br><span class="line">    data()&#123;</span><br><span class="line">        return&#123;</span><br><span class="line">            msg:&#39;这是一个变量&#39;,</span><br><span class="line">            ok:0,</span><br><span class="line">            type:&#39;A&#39;,</span><br><span class="line">            tlist:[&#123;text:&#39;汽车&#39;,num:1,price:200&#125;,&#123;text:&#39;化妆品&#39;,num:1,price:50&#125;,&#123;text:&#39;衣服&#39;,num:1,price:30&#125;,&#123;text:&#39;牛奶&#39;,num:1,price:2&#125;],</span><br><span class="line">            counter:0</span><br><span class="line">        &#125;</span><br><span class="line">    &#125;,</span><br></pre></td></tr></table></figure>
<h1 id="计算属性"><a href="#计算属性" class="headerlink" title="计算属性"></a>计算属性</h1><h3 id="1、字符串反转"><a href="#1、字符串反转" class="headerlink" title="1、字符串反转"></a>1、字符串反转</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">&#x2F;&#x2F;计算属性</span><br><span class="line">computed:&#123;</span><br><span class="line">    reverse_msg:function()&#123;</span><br><span class="line">        console.log(this.msg.split(&#39;&#39;));</span><br><span class="line">        return this.msg.split(&#39;&#39;).reverse().join(&#39;&#39;);</span><br><span class="line">    &#125;</span><br><span class="line">&#125;,</span><br></pre></td></tr></table></figure>
<h3 id="2、将变量的值每次更改打印到控制台"><a href="#2、将变量的值每次更改打印到控制台" class="headerlink" title="2、将变量的值每次更改打印到控制台"></a>2、将变量的值每次更改打印到控制台</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">watch:&#123;</span><br><span class="line">    counter:function(nval,oval)&#123;</span><br><span class="line">        console.log(&#39;计算器由&#39;+oval+&#39;变换为新的&#39;+nval)</span><br><span class="line">    &#125;</span><br><span class="line">&#125;,</span><br><span class="line">&#x2F;&#x2F;钩子方法  created</span><br><span class="line">mounted:function()&#123;</span><br><span class="line"></span><br><span class="line">&#125;,</span><br></pre></td></tr></table></figure>
<h1 id="自定义方法"><a href="#自定义方法" class="headerlink" title="自定义方法"></a>自定义方法</h1><h3 id="汇总数量，遍历tlist，将每条的num参数依次累加，得出总数量"><a href="#汇总数量，遍历tlist，将每条的num参数依次累加，得出总数量" class="headerlink" title="汇总数量，遍历tlist，将每条的num参数依次累加，得出总数量"></a>汇总数量，遍历tlist，将每条的num参数依次累加，得出总数量</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line">&#x2F;&#x2F;自定义方法</span><br><span class="line">methods:&#123;</span><br><span class="line">    &#x2F;&#x2F;汇总数量</span><br><span class="line">    totalcount:function()&#123;</span><br><span class="line">        let total&#x3D;0;</span><br><span class="line">        for(let i&#x3D;0,l&#x3D;this.tlist.length;i&lt;l;i++)&#123;</span><br><span class="line">            total +&#x3D; this.tlist[i].num;</span><br><span class="line">        &#125;</span><br><span class="line"></span><br><span class="line">        return total;</span><br><span class="line">    &#125;,</span><br></pre></td></tr></table></figure>

<h3 id="汇总价格，遍历tlist，将每条的num参数和price相乘后得到单品总价，然后相加到pricenum变量中，得出总价格"><a href="#汇总价格，遍历tlist，将每条的num参数和price相乘后得到单品总价，然后相加到pricenum变量中，得出总价格" class="headerlink" title="汇总价格，遍历tlist，将每条的num参数和price相乘后得到单品总价，然后相加到pricenum变量中，得出总价格"></a>汇总价格，遍历tlist，将每条的num参数和price相乘后得到单品总价，然后相加到pricenum变量中，得出总价格</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">&#x2F;&#x2F;汇总价格</span><br><span class="line">pricecount:function()&#123;</span><br><span class="line">    let pricenum&#x3D;0;</span><br><span class="line">    for(let i&#x3D;0,l&#x3D;this.tlist.length;i&lt;l;i++)&#123;</span><br><span class="line">        pricenum +&#x3D; this.tlist[i].price*this.tlist[i].num;</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">    return pricenum;</span><br><span class="line">&#125;,</span><br></pre></td></tr></table></figure>

<h3 id="购物车数量的减少，this-tlist-index-num-gt-0判断数量是否大于0，如果大于0则可以减，如果小于0，不改变"><a href="#购物车数量的减少，this-tlist-index-num-gt-0判断数量是否大于0，如果大于0则可以减，如果小于0，不改变" class="headerlink" title="购物车数量的减少，this.tlist[index].num&gt;0判断数量是否大于0，如果大于0则可以减，如果小于0，不改变"></a>购物车数量的减少，this.tlist[index].num&gt;0判断数量是否大于0，如果大于0则可以减，如果小于0，不改变</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">&#x2F;&#x2F;购物车减法</span><br><span class="line">minus:function(index)&#123;</span><br><span class="line">    if(this.tlist[index].num&gt;0)&#123;</span><br><span class="line">        this.tlist[index].num--</span><br><span class="line">    &#125;else&#123;</span><br><span class="line">        this.tlist[index].num</span><br><span class="line">    &#125;</span><br><span class="line">&#125;,</span><br></pre></td></tr></table></figure>

<h3 id="购物车数量的增加，将下标传下来，将数量进行增加，一次加1"><a href="#购物车数量的增加，将下标传下来，将数量进行增加，一次加1" class="headerlink" title="购物车数量的增加，将下标传下来，将数量进行增加，一次加1"></a>购物车数量的增加，将下标传下来，将数量进行增加，一次加1</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br></pre></td><td class="code"><pre><span class="line">        &#x2F;&#x2F;购物车加法</span><br><span class="line">        add:function(index)&#123;</span><br><span class="line">            this.tlist[index].num++</span><br><span class="line">        &#125;</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">&#125;</span><br><span class="line">&lt;&#x2F;script&gt;</span><br><span class="line"></span><br><span class="line">&lt;style&gt;</span><br><span class="line"></span><br><span class="line">.on &#123;background-color: blue;color:thistle;font-size: 20px&#125;</span><br><span class="line">.off &#123;background-color: red;color: black;font-size: 30px&#125;</span><br><span class="line"></span><br><span class="line">&lt;&#x2F;style&gt;</span><br></pre></td></tr></table></figure>

<h1 id="vue-中的方法"><a href="#vue-中的方法" class="headerlink" title="vue 中的方法"></a>vue 中的方法</h1><h3 id="v-html-””-展示变量"><a href="#v-html-””-展示变量" class="headerlink" title="v-html=”” 展示变量"></a>v-html=”” 展示变量</h3><h3 id="v-show-””-如果是True则显示，如果是Flase则不显示"><a href="#v-show-””-如果是True则显示，如果是Flase则不显示" class="headerlink" title="v-show=”” 如果是True则显示，如果是Flase则不显示"></a>v-show=”” 如果是True则显示，如果是Flase则不显示</h3><h3 id="v-if-”type-’’”判断条件满足时显示"><a href="#v-if-”type-’’”判断条件满足时显示" class="headerlink" title="v-if=”type===’’”判断条件满足时显示"></a>v-if=”type===’’”判断条件满足时显示</h3><h3 id="v-else-if-”type-‘’”判断满足条件时显示"><a href="#v-else-if-”type-‘’”判断满足条件时显示" class="headerlink" title="v-else-if=”type === ‘’”判断满足条件时显示"></a>v-else-if=”type === ‘’”判断满足条件时显示</h3><h3 id="v-else-如果条件都不满足则显示"><a href="#v-else-如果条件都不满足则显示" class="headerlink" title="v-else  如果条件都不满足则显示"></a>v-else  如果条件都不满足则显示</h3><h3 id="v-for-”-item-index-in-tlist”-遍历tlist，提取其中的item和index"><a href="#v-for-”-item-index-in-tlist”-遍历tlist，提取其中的item和index" class="headerlink" title="v-for=”(item,index) in tlist” 遍历tlist，提取其中的item和index"></a>v-for=”(item,index) in tlist” 遍历tlist，提取其中的item和index</h3><p><img src="/hugo_blog/5ba58572111d481045b9894394b50afe.jpg" alt="美图"><br><img src="/hugo_blog/5e531bfe76e1831109f79c4222d865c0.jpg" alt="美图"><br><img src="/hexo_blog/34339465.jpg" alt="美图"></p>

            <!--[if lt IE 9]><script>document.createElement('audio');</script><![endif]-->
            <audio id="audio" loop="1" preload="auto" controls="controls" data-autoplay="true">
                <source type="audio/mpeg" src="">
            </audio>
            
                <ul id="audio-list" style="display:none">
                    
                        
                            <li title='0' data-url='/song_b//img/002.mp3'></li>
                        
                    
                </ul>
            
        </div>
        
    <div id='gitalk-container' class="comment link"
		data-enable='true'
        data-ae='true'
        data-ci=''
        data-cs=''
        data-r=''
        data-o=''
        data-a=''
        data-d='false'
    >查看评论</div>


    </div>
    
        <div class='side'>
			<ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#VUE的架构"><span class="toc-number">1.</span> <span class="toc-text">VUE的架构</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#计算属性"><span class="toc-number">2.</span> <span class="toc-text">计算属性</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#1、字符串反转"><span class="toc-number">2.0.1.</span> <span class="toc-text">1、字符串反转</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#2、将变量的值每次更改打印到控制台"><span class="toc-number">2.0.2.</span> <span class="toc-text">2、将变量的值每次更改打印到控制台</span></a></li></ol></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#自定义方法"><span class="toc-number">3.</span> <span class="toc-text">自定义方法</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#汇总数量，遍历tlist，将每条的num参数依次累加，得出总数量"><span class="toc-number">3.0.1.</span> <span class="toc-text">汇总数量，遍历tlist，将每条的num参数依次累加，得出总数量</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#汇总价格，遍历tlist，将每条的num参数和price相乘后得到单品总价，然后相加到pricenum变量中，得出总价格"><span class="toc-number">3.0.2.</span> <span class="toc-text">汇总价格，遍历tlist，将每条的num参数和price相乘后得到单品总价，然后相加到pricenum变量中，得出总价格</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#购物车数量的减少，this-tlist-index-num-gt-0判断数量是否大于0，如果大于0则可以减，如果小于0，不改变"><span class="toc-number">3.0.3.</span> <span class="toc-text">购物车数量的减少，this.tlist[index].num&gt;0判断数量是否大于0，如果大于0则可以减，如果小于0，不改变</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#购物车数量的增加，将下标传下来，将数量进行增加，一次加1"><span class="toc-number">3.0.4.</span> <span class="toc-text">购物车数量的增加，将下标传下来，将数量进行增加，一次加1</span></a></li></ol></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#vue-中的方法"><span class="toc-number">4.</span> <span class="toc-text">vue 中的方法</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#v-html-””-展示变量"><span class="toc-number">4.0.1.</span> <span class="toc-text">v-html&#x3D;”” 展示变量</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#v-show-””-如果是True则显示，如果是Flase则不显示"><span class="toc-number">4.0.2.</span> <span class="toc-text">v-show&#x3D;”” 如果是True则显示，如果是Flase则不显示</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#v-if-”type-’’”判断条件满足时显示"><span class="toc-number">4.0.3.</span> <span class="toc-text">v-if&#x3D;”type&#x3D;&#x3D;&#x3D;’’”判断条件满足时显示</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#v-else-if-”type-‘’”判断满足条件时显示"><span class="toc-number">4.0.4.</span> <span class="toc-text">v-else-if&#x3D;”type &#x3D;&#x3D;&#x3D; ‘’”判断满足条件时显示</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#v-else-如果条件都不满足则显示"><span class="toc-number">4.0.5.</span> <span class="toc-text">v-else  如果条件都不满足则显示</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#v-for-”-item-index-in-tlist”-遍历tlist，提取其中的item和index"><span class="toc-number">4.0.6.</span> <span class="toc-text">v-for&#x3D;”(item,index) in tlist” 遍历tlist，提取其中的item和index</span></a></li></ol></li></ol></li></ol>	
        </div>
    
</div>


    </div>
</div>
</body>

<script src="//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js"></script>


<script src="//lib.baomitu.com/jquery/1.8.3/jquery.min.js"></script>
<script src="/song_b/js/plugin.js"></script>
<script src="/song_b/js/typed.js"></script>
<script src="/song_b/js/diaspora.js"></script>


<link rel="stylesheet" href="/song_b/photoswipe/photoswipe.css">
<link rel="stylesheet" href="/song_b/photoswipe/default-skin/default-skin.css">


<script src="/song_b/photoswipe/photoswipe.min.js"></script>
<script src="/song_b/photoswipe/photoswipe-ui-default.min.js"></script>


<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
    <!-- Background of PhotoSwipe. 
         It's a separate element as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>
    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">
        <!-- Container that holds slides. 
            PhotoSwipe keeps only 3 of them in the DOM to save memory.
            Don't modify these 3 pswp__item elements, data is added later on. -->
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>
        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
        <div class="pswp__ui pswp__ui--hidden">
            <div class="pswp__top-bar">
                <!--  Controls are self-explanatory. Order can be changed. -->
                <div class="pswp__counter"></div>
                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
                <button class="pswp__button pswp__button--share" title="Share"></button>
                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
                <!-- element will get class pswp__preloader--active when preloader is running -->
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                      <div class="pswp__preloader__cut">
                        <div class="pswp__preloader__donut"></div>
                      </div>
                    </div>
                </div>
            </div>
            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div> 
            </div>
            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>
            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>
            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>
        </div>
    </div>
</div>






</html>
